Tootsville::Sky-Room-Var

Function

Sky-Room-Var names a function, with lambda list (WORLD):

Returns the current state of the skies over WORLD.

This data is in the form of a Plist suitable for JSON-ification. It's expected to be used by TOOTSVILLE LOCAL-ROOM-VARS particularly, q.v.

When WORLD is CHOR (Chœrogryllum), the sky will contain a sun, and three moons. For each body, the X and Y positions will be returned; in addition, for each moon, the phase (φ) of the moon will be returned.

Example structure

{ sun: { x: 120, y: 120 },
  moon: { x: 120, y: 120, φ: 1 },
  othM: { x: 120, y: 120, φ: 1 },
  pink: { x: 120, y: 120, φ: 1 } }

File

Defined in file src/infinity/new-commands-20.lisp.